add mcollective api samples.