Factored out the motion controllers.
Fixed "time" object scope bug.
More descriptive names for vars in SineCtrl.