Created a ViewModel for the MainWindow