Updating the comments and filling out the tests for the io sub-package.