Add mustache templating support

Mustache templating support is added without much testing.