added PID controller.
Tweaked motor, brain, etc with examples and new code