Addedd parsing of xml configuration