Parser able to parse first command and get command parameter
Completed code for Parser to parse optional commands

Note: Made ParsedResult static