Implement cache, reader and writer that will give in memory ability. Also add reader & writer which load from file but then read from and write to memory in in memory configuration the cache should be disabled.