Move application data initialization into main()

To better support automated tests, I removed the import.sql script and replaced it with save operations inside Application.main