Creation of the window