PHP Helper Class for CiviCrm Api