new arch changes

updated MainWindow.xaml.cs