added LocalRedis class