Any tips on the best way to animate cables on a moving crane?

Better yet a pre-built scene with cables already rigged?

I have a crane that rotates on it's base, and then the arm can pivot up and down. I need the cables (just simple black tubes) that stretch from the back of the base to move and stretch (or clipmask I guess, but I'd rather learn to stretch) to the top of the arm. Then there is the hook which should hang below the wrist, and be adjustable up and down, also with stretchy cables.

Thoughts, as always, appreciated...