database.py to config folder