Implement Tokenization State Machine and the Date State behavior