[PLAT-3122] Add the first bunch of support classes for get/search master caching