Change to template_source

* Add separate `postfix['main_template_source']` and `postfix['master_template_source']` attributes