refactored export into a separate class, and added option to not print issue descriptions