Started to implement the window class.