public static void build() {
settingsControl = new ApplicationSettingsControl(Model.getSettingsDialogModel());
View.getSettingsDialogView().registerController(settingsControl);
View.getSettingsDialogView().addWindowListener(settingsControl);
taskManager = new TaskManager(Model.getTaskManagerModel());
mainWindowControl = new MainWindowControl(Model.getMainWindowModel(), Model.getAddDialogModel(), Model.getAddTaskModel(), Model.getSettingsDialogModel(), taskManager);
addDialogControl = new AddDialogControl(Model.getAddDialogModel(), getMainWindowControl());
View.getAddDialogView().registerController(addDialogControl);
View.getAddDialogView().addWindowListener(addDialogControl);
View.getMainWindowView().registerController(mainWindowControl);