first cut at getting civicrm_entity working