Split motor_controller into two parts

motor.h now declares Motor class and master_controller.h declares
MasterController, also added curve_left and curve_right to
MasterController