[Parser] Made a parser class