making templateDir config first-class & expected

value should be a relative path from the root directory of the app