Update and rename io.h to io.c