Add motor API to control EV3 motor