refactored for postgres rather than mysql
refactored for postgres and changed out db driver
actually including the vendored library