Add injection point for config in factory.
Add API to read templates from files.