Debug output in the proper place.
Making functions non-public
simple-cache -> in-memory-cache.
Merge branch 'store-cache' into iow-testing