made tokenizer a global static object