more ERN.read/write code and specs, README changes