added generic object for argument passing, added an optimization in the router to skip a route match if the route table was never set