async db call working
setting up framework for postgres queries, still need to clean up some of the callbacks