fixed pin numbering on motor controller
simplified server