start of refactor

- tag, token, tokenizer refactored, tested
- added test dir

todo: refactor of nodebuilder, separator