Shortened MainViewModel initialization.