Code refactor. Added PHPExcel library for handle data export
Separete export functions from core statistics functions