Finish IO

well not too many comments still