Replaced httparty with restclient, Added support for oauth