refactored into module

should now be properly fixed with code for sphero in a module! (this includes your latest changes)