Moving the IO-related part of the Signal module to a separate module.