some change of SQLHelper and add MainWindow file