Added a run Class and Button Handler to the MainWindow Class