Create initializer for redis