factors out and tests title generation
class-based implementation for report generation
Merge branch 'feature/test-table' into develop