Added a enablemotors function. added some comments.