Basic REST API with persist, update and retieve functionality