added a Reader class.  Some overlap with fromStream in unittests dir.