add shutdown server command

class comments should describe the function of the class.