added class for redis communications.