Add index.html, move stack.html to examples/ and add comments