Refactored command parsing.
Allows for automatically tested command parsing by splitting parsing and invokation of the commands.
This commit is contained in:
Allows for automatically tested command parsing by splitting parsing and invokation of the commands.