client-side controller for iridium api