Allows export to CSV

related to #65