separated tokenizer class and added spec for it