Changed resource managers to load from xml file