Created a class for the parser