adding first part of the redis support