refactoring routing e inizio view