added class for joint control of arm