Move mainloop.d to events/ subfolder