finished factoring out db access from utils.py