minor fixes, updated readme, resolving template from string rather than from redefine.template