Moving database configuration into a properties file.