Localdatastore

Implemented a basic local data store. It isn't serialized yet.