make-template-object, -fact and -pattern moved to core, tmpl-object now stores template