Made some style changes and continued work in redis cache