Moved commands to their own classes

Now each command has its own class.