cleanup + a little more documentation
enable reading CDATA
unit tests