Examples

Added demo of merging scenarios and example use Rmd, plus some refactoring