Separated the Student Control portion from the MainWindow andm ade it its own StudentControl.xaml