Added default to global.dbPool if no pool passed to constructor