resources and levels now loaded by xml file