added class for event and created a list of events for all the access tokens provided