add cpanfile.snapshot
add sample code