XML Parsing Updated

Updated XML Parse Algorithm - Added text XML write code
Integrated TinyXML2 libraries into main code base.