Rework 'index.html' to make it easier to review
Add option to attach a class to the layer, with examples