PHP class used to easily make requests to REST APIs