Creation of Window