splitting token type and creating type alias for tokentype * tokenValue.
this makes comparisons easier