add application main window infrastructure