refactor to standard ruby project
refactor to use class, use REXML rather than xmlsimple, add minitests