Added extension methods for enum value conversion
Fixed a project error
Added documentation
Cleaned up the Trigger class