Add std::hash <std::pair> specialization
Refactor TaggedCache