big break: optimize the stats page by seperate "read & save" from Cakephp into directly sql "insert into select ..."

big break: optimize the stats page by seperate "read & save" from Cakephp into directly sql "insert into select ..."

Signed-off-by: Ray Allen <ray@ray-Lenovo-IdeaPad-S400.(none)>