All in key-value database

- all data is saved in a key-value database
- looking for the older database and migrating data if needed