Added Cache entity, and added it with memory.

Cache for Instructions still needed, as well as the behavior for the
cache itself.