Avoid usage of top level exception class.
Cleaned up Subprocess class
Moved import_ontologies from Hets to Ontologies.

Follow the separation of concerns principle.