Moved eventExtraction to fun folder.