moved the test.py calls to Main() in code_tools.py
forgot to make the members in Main() prefixed with self.
moved the Main() to motor_tools where it belongs...
removed some cruft