Added interface to IO.md, and wrote test. Now just to generate a good test image. Which I'll do later.