Linked MainView to it's ViewModel