Code refactoring

Load/Save rates from/to cache file
Whoops, typo here (o => to)