Added tinyxml instead of QXmlStreamReader
Code cleanup
Get rid of QXmlStreamWriter
Extracted method. Cleanup.