Localdatastore

Implement a basic local data store.
No serialization yet.