Rest-Api Curl Wrapper for PHP to administer Groupwise