Create NewMain.java

Main java that includes class hierarchy and updates the ontologies