Flexible shaft with backpack engine