Implemented Tokenization gubbins, a lot of it is funtional now