Integrate Redis and entity structure