XML support and some rewriting
Merge pull request #7 from adisbladis/master

Support for XML and some rewriting.

Sorry about that, I've been sick the whole month, I haven't had time to work on this or other fun stuff, I apologize. Your changes are good, thank you! I still have to make other changes! :)