Address CR: typos, comments, and added a shell script to initialize the database.