Connection pool class in settings