Factored out basic joint and cartesian arm control into an interface that significantly simplifies simultaneous control of both arms (and the head).