extracted report_helper methods into formatters

added csv formatter