fix initialization of sampler, add sample usage
add gitignore