Implementation of Cache and some eviction strategies.