make the doRequest function a method of the salesforce class that way we can call it using `sf.doRequest` and more easily access sf parameters