Added ir control of motor and servo