Added a `get_simulator()` function (closes #65) and modified some of the example scripts to use it.