Main with router