Made the widget a bit more generic
Working version of WidgetFactory, should make creating widgets on pages A LOT easier