Create trait TemplateFactory instead of BasePresenter