removed database connection from db.py