Revert "Moving CacheManager to separate repository"

This reverts commit 8387a6dc6bef209d3cf8943109a7043a98628ce4.