Created UI for main window