Refactors more Cassandra and XML parsing logic into Util classes.