Basic version of tokenizer done