Finished up eventd socket connections and added a sample app.