forgot to make the members in Main() prefixed with self.
moved the Main() to motor_tools where it belongs...