adds routes to router