Wiring of base components.
Adds basic input handler. Adds basic event polling. Can quit cleanly, yay.