Class for various IO uses