First working version with Datastore read/write