simple RedisQueue class copied from reference on first line