added actionlister on mainwindow for add-windows
refactored class names