Added class method to Redis for connections