Split off the event-loop to stand on it's own