A lightweight datastore wrapper