adds some initial code for the parser adapter