Test coverage improved and brittle IO code moved into separate class
Merge pull request #11 from jaimalchohan/xml-documentation

Test coverage improved and brittle IO code moved into separate class