move reusable code from reports/make-simple-report.py to a new reports/report.py