templates

more changes on templates and publisher module