refactored project routes and views