Class for Caching the similar objects