adding ping tool code and config.