Added motor driver case structure

Added functions to a case structure that manipulates motor control.