Work on reading and writing with constructors and fields