Added rake task to generate statistics pages. 'bundle exec rake generate_stats' to run.