Change conftemplate to be a wrapper of conf, to avoid duplicating code