Triggers fully implemented with inputs in excel.

Closes #115
Closes #21