Tiny Xml

Added Tiny XML support and some optimisations