clean up data access
Merge pull request #5 from Dakuan/db/promises-promises

clean up data access