Contain the Trigger class code used by the Xlab Mobile Project at UC Berkeley.