datastore common library