add initial implementation of cache_mng