Implemented the parsing infrastructure and the base parser