Add terms management class
Merge remote-tracking branch 'github/master'