add RESTful persistence