- initial implementation of template service