cleaner output code
new converter based mostly on adding classes to spans and divs. Closes #1