Added code to load in the xml file into classes for easy use later