Example controller class