Merge factory for template & normal form, rename method setProcessor to addProcessor