added isRunning() and increment methods to server class