remove not required class variable
Add formFactory as a DI dependency