Determined database.js layout, added multiple pool creation and termination, database specific defaults and user specified defaults