[NEXUS-6093] move templates to plugin