putting the project list view inside the controller
Refactoring the main controller