Changed keys and directory names for backward compatibility, if at all possible.
- Added data migration by model.
- Fixed a number of bugs related to switching between local and cloud stores.