Placed onCommand method into the proper class file. Intended commands
should now work properly
Committing before first test
Code fixed and formatted a bit. boolean functions are bork