added server start and stop