added TokenType

added TokenType and type variable for token