Modified example and fixed options in model

Example has been converted into a class to be able to run it from outside. Model now updates default settings and does not overwrite all options.
Renamed example