DB wrapper for node.js