consolidated database configs to core/database.py