Finished draft 1 of primitive sampling; only uses lavamoss object and likely won't work, but most of barebones code (including writing / reading to / from files) is there.