Added ability to set motor ports in constructor