modified domain and controller scaffolding templates.