Added property file. Used java configuration.