Wrapper around sql.js library to handle database operations through Promises/A+ interface.