Reimplemented caching based on Jena FileManager and MapDB