Added a view model for the main window and set data context in the xaml code