Moved relevant event generation into its own process (and file).
Moved relevant event generation into its own process (and file).

bmilde/ambientsearch,bmilde/ambientsearch,bmilde/ambientsearch,bmilde/ambientsearch,bmilde/ambientsearch