App now is responsible for creating the window