Add RESTful CRUD for model