Added a new interface for Cache and separate Processor class for statistics.