Re-worked: added mote class to abstract checking a motors speed and direction (side effect: removed need for opin::open)