Modify the datastore tutorial to suit our purposes.