much work on serviceType controllers and templates