store module paths in the template config
migrate from Swig to Handlebars (#87)