This is tha base of the main window