Major update to the XML scoring system. Now supports reading and writing to the XML file.