added some lib files for sampler
restructured p.sampler~ base