remove old impl. use xmpl-parser-loop to load and run parser.