added fully worked loading game parameters from xml file