redis support

added redis support