WIP Extract common code for Mustache
WIP cache for Mustache templates
Mustache context for CN generation