Moved ping_event to events.c
Moved user_timer_event to events.c
Moved socket_read_event to events.c
Moved audio_transmission_event to events.c
Moved script_stat_event to events.c