real motor control added

Added functionality to control motor via repl