Added trigger implementation.
Added volume trigger.
Cleaned configuration.
Fixed some issues.
Extended generated demo config.