class based peasy

a version which provide class Parser and TextParser