Added push_back_event functions
Added get_event_source_id function
Refactored the EventSource field