Refactor how shared template is generated
Merge pull request #45 from Cinamonas/bugfix-refactor-shared-template-generation

Refactor how shared template is generated