Code refactoring

Load/Save rates from/to cache file
?