Added purpose specific ontology, corrected bugs in instance generator.