Window class created generate a window