Settings loading

loading settings from XML