Tools to reduce and analyze HST / COS data