Added loop functions to motors and sensors.
Removed loop test code.
Fully isolated loop() code for each motor and sensor.