first cut at pexpect submodule to do things the XMLAPI can't