Parsers class revised

changed the parser class. Added shunting method