move default ext to options
better debug messages
default extension to .html
make path optional
update examples and readme