Core of the new XML subsystem up and running
Some changes to the code, I guess