make the Tokenizer and Optimizer static classes.