Add configuration via xml file