Basic tokenization framework