interface cleanup

This needs to be tested in the browser as I was working with nodejs.
I changed method names(stringify is now xmlToString) to be more descriptive and added aliases for build and unbuild functions.