Initial version of tokenizer