Add main loop, events list, blah blah.