Built the main event page.

A lot of code changes.