Fixed Statistic.toString(), added few more test.
Bugfixing.

Fixed Events constructor.
Exposed initialize as a local function.