Start moving IO into a module