Implemeted parser for console commands