Add a RESTResponse and RESTView for making APIs