beginnings of atom-reading refactor: separate create_fromxml() and create_frombinary()
 -- compiles but won't run yet since xml not impl