add routes and pages