Allow setting database etc. from a config file.