Renamed 'phrase_accuracy' to 'phrase_diagnostics'
Extracted the plotting functionality from server.R into their own files as the logic has expanded.