An API for the Polarizable Continuum Model