Added the beginnings of a csv reader object and copied some functionality from the raw reader.