Rewrited lib/lib_cache; add new app simple_cache_test to test lib_cache