tweak classes 2 and 3
add class 2 file IO code and link from readme