fix(core): make main file a Handlebars template