Implement cache persistence
use metadata persisted cache.
fix mispselling.
instrument save/load times.
Merge pull request #297 from gdusbabek/preload_cache

Save metadata cache to disk and load it on startup.
fix merge conflict in imports