Class (and tests for it) for Sharepoint rest-api access