improve parsers, added prepare() and cleanup()
reset references on new parse call