Node.js Database Handler for PostgreSQL writer upon pg and bluebird modules