add loggerInterface on Template and MergeTag Entities, add TemplateMergeTagType