For your first question, you might want to use the swapaxis command, and then call a work offset. That should allow you to cut with the other spindle without changing the code.
The second one is trickier. You may be able to do it similar to the first way. Have the knee be the B or C axis, and the quill the Z. Whereever you want to switch, do a Swapaxis again.