first refactor. Put exporters in a class