Add db.py
Merge branch 'master' of github.com:stuycs-softdev/proj1-7