This commit updates the motordriver and controller classes