use em-hiredis.
refactor use class instance variables.