Move knex initialization out of server.js  to utility file