Creating parser class