Added a window class