extract Helpers and abtract Parser class