Usage enhancements

Added support for standard command line argument parsing. Additionally added support for specifying an output file. The default behavior is to continue to write the html to standard output.