adds the server communcation and event manager