refactored Rackspace rest client