Create Window class