Nearly done IO rewrite, still not building