added show method and some editings on exception definitions
implemented a parser for commands