added more event emitters.  subscribe, unsubscribe, fail
added listeners to server