Loads more types of command now.

Added enum for commands.