Make database configurable via the config file