1) Created constructors for MainWindow class.

2)Initialize the fields of ApplicationControl class.

3)Set the field mainWindow of GraphicsManager with the one found as parameter.