Crete some parser and error classes