Persistent totals

Trying out firebase for persistent storage.