Moved functions to convert data to HTML and CSV into "resources/export.py".