Creating the parser factory