- add class to handle pre-computed word-feature counts
- move common code to util class