added EventsPostedActivity and fixed some classes