Codestyle for the Implementation of Redis caching

This is a CS PR for the Implementation of Redis caching