refactored motors
Improved documentation