added command-line-friendlyness
exported templating compilation to specific module + safer paths