initialize templateAdapter in a factory-style passing in entryPath
better error messsage