Major refactoring. csv2html can now be imported as a module.
Readme updated.