Style fixes and cache results in redis