did initial work with token types

Types for all token types have been prototyped.
Scanner implementation is forthcoming.