turn ams-parserinto a separate repo