Model added to mainWindow