closes #2
really closes #2
clean up imports and add XML utilities
closes #3