add optional '-b' argument for blocked sampling, add creation of sampler
in main, fix usage