Splitted the parser and the commandline reader into own classes