Load the templates inside EPR, with promises
Refactor private vars