Rename the 'engine' property of the templateData produced by readTemplateFiles() to 'engineId' to better reflect that it is just a string for getting at the engine data, not the engine itself.
Continuation of the refactor: module for precompiling the received templates with the engine specified.