Create CollectionIO, move read/write methods to new class.