created parser class