Do initial refactor of widgets, plugins, dashboard, views