Adds the Token implementation.
First stage towards fixing #2.
Missing: Lexicon implementation