chore(element_binder): Refactor the component factory