Add mainwindow and services class