Refactor some things into reports.py and issues3