Templatedir

Realized #38

Add option `-t, --templateDir` which supports defining a relative or an absolute templates directory.

Based on PR just_parse.