Added prototype of main window