[cache] extract cache lib to module
[debug tool] update labels