Started work on Manifest impl. Bug fix in xmlfun existy. Started effort of externalizing functions not specific to xml interactions from xmlfun so they can be used elsewhere without requiring xmlfun.