changed TokenExtractor to use Tokenizer instance instead of static reference