Refactor Redis download/index list manager code