Added new Main Window class.