Adds a basic motor library
Adds a motor example code