Contains the code for  parser