added a class for parsing the commands and a test