Revert "Added Cache entity, and added it with memory."

This reverts commit 78c8a561b0a2d58b2aaf35b515b3252e2fb75112.