Added updated sample with 10.2.1 trigger support. 

I've added a new sample that is a re-structure of the original. It now makes use of the headless framework.