Loading database configuration from properties file