Add fns for loading samples, examples.
Genetic/examples: use resource path instead of absolute path