Resolves issue #8 : Refactor for redis implementation