coding #3 updating mainwindow implementation and configuration files that will be removed later