add unit of work specification
mainwindow