Database configuration via *.config file

Moved the configuration of the datbase to the application *.config file