moved data to separate file

also worked on eventController/data