removed parseCommand method
implemented simple sendServerCommand method for stopping the server