Base parser class

initial commit of base parser class methods