move database settings into configuration file