SuggestionCompletionCache.getInstance().setEventBus(eventBus);
ClientFactory clientFactory = new ClientFactoryImpl(eventBus);
appController = new AppControllerImpl(clientFactory, eventBus);
if (Window.Location.getPath().contains("StandaloneEditor.html")) {
RootLayoutPanel.get().add(new StandaloneEditorManager(clientFactory, eventBus).getBaseLayout());
} else {
RootLayoutPanel.get().add(appController.getMainPanel());
}