Added basic event support. Generally pretty bad. Also added event list at /events.