added read configeration from xml file