Added working statistics page.
merge pretty and stats