Refractoring application_controller.rb
Refractoring grap.rb
Refractoring report.rb