Directive for snippets
New directive files
fix #2 and also fix #10 and move the templating in directive
Merge pull request #14 from Papiel/directive

Directive for snippet