Modified database.py to use db string from config.py.