Move all cache related stuff into subpackage. Contain libcore.