Write the basic endpoints for reading/storing/updating persistent items