modify io to read and write shipments, add tests to test reader/writer