Add directives and default template.
Merge pull request #9 from paulld/add-directives

Add directives and default template.