- constants refactoring
- added the case when the controller does not provide the view