A library that maps to the various S2 APIs