adding parser class