Write GenerateOntologies2.java for DB insertion, and include more comments in programs