added token.c and token struct