Added motor class that extends servo.