More basic setup of events, beginning of webservice cleanup