ENH: First pass at diffraction science api