Basic scaffolding for refactoring commands.
This should be an interface.
Get more things into the mainwindow by DI