generated scaffold and set routing.