I moved the Core namespace into its own project and decoupled the ties to the MainWindow.xaml inside ServerLevel.cs