Migrated all ontology related services to a new module

Remove commented code or add explanation