Refactored the name of the form manager to WidgetFactory since it's sole purpose was creating widgets