create main GUI and some controllers