new index and main
Merge branch 'master' into gh-pages