Adding the text exporter class