Refactor client from redis, moved from model to priotizer