Event.php

This is the class of functions for the event page. It is currently
incomplete, but most functionality is done.