Create events.cpp