Motor class

adding motor class for controlling the ESC