Started adding loadXML functionality