add basic GTrigger class.
Add docstring.
Merge pull request #1 from odanielson/add-basic-trigger

Add basic trigger