Added support to start and stop the server