Implement token client.  Still debugging.