- move class files
- close app when main window closed