Add globals, signal handlers
Add event loop, connect peers

Loop does not yet handle events