Break-out span, token from main.
Break-out tokenizer from main.
Add input stream buffering (lookahead) and eol handling.
Initial start on scanning (for integers)