Added more charts and statistics. Refactored code.