initial checkin of motor controller and CLI