added traits for form factory, router and templating engine