Change terminology: words -> terms
Add basic classification functionality