added first attempt to read xml config files