improve quality of the sampler

* rename Site to Target for clarity
* godoc for sampler
* tests for sampler
* fix cmd/canary