added ConnectionPool class