I want to create an activity monitor program which monitors activities and their events as specified