made reader and writer separate classes, removed not needed inheritance
Authored by: grether 2009-07-23
Parent: [r8045]
Child: [r8047]