separated public and private methods in content.rb and moved any remaining attributes hashes into the xmldoc module