Update table header based on category
Generate summaries to legend

Closes #10.