new seeding API
Merge pull request #26 from JuliaStats/dh/seeding2

New seeding API