Feature/local cache

* Properly save updated score data to local
* Flattened local data structure for scores