Clean controller, repository and view