Some indexes added.
Now creates the database, if --createdb option is present.