add Main window
added Main window