Program now reads in all data files correctly

All data from the XML files is now gathered into generic data structures
so that it can be easily processed