refactoring, cleaned up code

Release version of Tribot-ARM