[1753] Added mako templates.

https://gist.github.com/ArGroc/97845d28bdad1c3ac02f