void App_Startup(object sender, StartupEventArgs e)
 {
     Model             = new MySimulatorModel();
     DashVM            = new DashBoardViewModel(Model);
     MapViewModel      = new MapViewModel(Model);
     ControlsViewModel = new ControlsViewModel(Model);
     ConnectViewModel  = new ConnectWindowViewModel(Model);
     ErrorViewModel    = new ErrorViewModel(Model);
 }
 //Constructor that intizalizing all the view models with the given model.
 public MainViewModel(IFlightGearModel flightGearModel)
 {
     this.dashVM       = new DashBoardViewModel(flightGearModel);
     this.mapVM        = new MapViewModel(flightGearModel);
     this.controllerVM = new ControllersViewModel(flightGearModel);
 }