Major backend changes for algorithms and XML parsing. Much clearer now what is doing what.