move arm control functions to ArmControl module and arm user control function to UserControl module