Moved the cache into the common directory.

Renamed the file Cache_Base.hpp after the class name.