Implement activity events

Fixes Issue #112  Ready for review....have at it!