added an array to hold incoming connections and made sure connections are added to a runloop be able to handle events.