created a global pool of database connections