change from properties file to xml config file