Add events import and preview to controller