Add CRUD actions and API controller.