Basic local datastore implementation. Still has numerous problems to work on...