editing, working on tests and xml stuff

the xml entries are actually perl hashes!!