Moved each command to its own class.