Clean up imports. Remove WidgetsRegistry.  Move featureform, events to api package