cleanup
more cleanup, s/TransState/Transaction/, Reader/WriterData structs