added comment
added new class for all api endpoints
changed the type in event_top