Added comments.  Moved cache and memory to the memory package.