removing eventlist into its own file