Split sample.h into sample.go and wrap almost all of it.