fix pg connection and bookshelf/knex
fix bookshelf: omit passing bookshelf as argument, instead load through node require