changes done for xml configuration with multiple hierarchy

For single hierarchy:
With or without configuration tag

For multiple hierarchy:
In this case user need to provide <configuration> tag

Also added corresponding UT