Move widget creation process to separate widgetmanager.d.