Creating connection pool