added start and stop events to server