add routes and scope