final SampleActivityMapper mapper = new SampleActivityMapper();
final PlaceHistoryMapper historyMapper = new DefaultPlaceHistoryMapper(eventBus);
final PlaceController placeController = new PlaceController(uiContext.getHistory(), eventBus);
final ActivityManager activityManager = new ActivityManager(mapper);
activityManager.setDisplay(panel);
final PlaceHistoryHandler historyHandler = new PlaceHistoryHandler(uiContext.getHistory(), historyMapper, placeController, eventBus);
historyHandler.setDefaultPlace(new LoginPlace());
historyHandler.handleCurrentHistory();
}