Simplify route.set
Updated generate console