changed the location of XML configuration. Made some corrections in the debug