stats module added

+charset changed in demo\readme
+added demo\small_ref