removed H-brug motor logics and replaced with mosfet logics