Updated cache class with access, read, updateRates, and addEntry functions; updated Entry class with updateTime function