redis refactor
Merge pull request #6 from dickeyxxx/redis

redis refactor