second half of how to build a database
sample tutorial script
minor fix
some illustration of substructure queries.