Fixed a syntax error bug
Implemented redis storage