Implements html report.
Code refactoring.
Use local css and javascript.
Code refactoring.