adding redis cache stuff, starting cache locking.