Create event.cpp