xml rework

using a xml library instead of my horrific class

XMLReader to be removed
XMLWriter will probably stay because its super easy to use