Controller that handles CRUD operations