adding new class for calculating word frequencies; +unit tests
removing BOM from encoding