rewrite stats pages, add new statistics reports