initial implementation of Tokenizer and NodeBuilder