Created MainViewModel class and bint it to te MainWindow.