depart database.py from server.py