Telemetry

New pull request for master to replace pull request #12 targeting cli.