make it possible to load level from xml file