StringTemplateResolver, repository initialization