Initial implementation
Added comments, refined code
Added examples
renamed some options
added index.html
added version information
added version information