Refines Datastore IO, tests and ipcserver