Added a basic Trigger class