Move database URL to config file.