added a redis wrapper for the backend