Added to and updated motor functions

Motor names are added once in the "main" file. motorFunctions
automatically gets the motor name from "main".  See documentation for
more info.