Implemented input of Triggers and Trigger Structures in waterfall

Closes #168