separated 'app' module to hold user-defined templates
a example of custom resource and template