CoreWidget refactor to global coreWidgetResource