Make deps-benchmark server-less

Little optimize core layer
Move cache to separate module
Merge pull request #225 from golyshevd/bench-fix-and-optimize

Bench fix and optimize