Refactor concerning Ontologies

- Ontologies no longer have to be selected manually in the template
field.
- Ontologies in the list are assigned to the template field, remove them
from the list in order to remove them from the field.