Implement Tokeniser class