Put interrupts-related functionality in its own folder.