Initial import of Motor Control code.