Started to impliment a singleten to store the XML data rather than store it to a file