Fix sql script, add database init sql script, add MainWindow and
subscribers table view