added basic html generation of statisics