add routes and index