Added classes for getting a token.
Added unit test for token request.