extracted Parser builder algorithms into the ParserAlgorithms class.