Created a connection pool wrapper