Add Shared memory cache
Added dump of cache
Added hit/miss counters
Fix indent