IO devices and run loop