create basic parser class