Removed the dependency on Resty.

Simplified the underlying request system to use the RequestBuilder.