Moved command classes and code into their correct files and cleaned up quite a bit.