Minor changes: Opening class brackets.
Bugfix: Phases are now updated correctly.

This seems to have been lost when merging branches.
Added new triggering possibilities.

Mostly, this commit adds a new MovementTrigger class, which has different modes to trigger an outcome based on the current signal. Pressing `t` will cycle through the available trigger modes.