Added: token struct, global token variable, and get_token function.