changed modifier for inner class Term

Turned Term as public (worth extract from TermsFacet?) to make it visible outside when
```java
termsFacet.terms()
```
is invoked