Refactoring.

Also added dirsize sorted list to the analysis report.