make incomingRoutes and messageIds private variables within the router