templates and functionality
Merge pull request #34 from rocketu/template-functions

templates and functionality