Reorganized the trigger classes. Got the first implementation of the stateUpdatedTrigger working.

Signed-off-by: Chris Hasson <hassoncs@gmail.com>