refactored tokenizers so that it is an object, abts its initialised instance is stored by the module. this makes the unit tests much more understandable
refactored thesaurus loader similarly to how tokenizers were refactored in the last commit