Split Loader cache stuff to separate module.
Use HashMap instead of Map in CacheLoader.