docs and indent trim
updated demo
added index page