moving stuff into MainWindowViewModel