Fixing Ontology on Android and also adding more features to logging