Created by: YuxinZou
add defaultsampler, Integrated two default sampler, includes distributed and non-distributed.