Created the window wrapper