This commit adds the motordriver class and controller class