Added reading properties file. Used XML configuration.