Add template for sampler.
Work.
Merge pull request #1 from RickEyre/sampler

Add template for sampler.