Added First Draft of XML Outputting