Update Robit.h

 - Move thread functions outside robot class

TODO: Fix github formatting my tabs incorrectly
(Or switch to space tabs)