Refactor: created class to handle just one redis connection in the whole app