Initialized CMainWindow class.
Initialized CMainWindow class