added an outline of how motion control currently works
some code cleanup