Initial commit of generate index script, and a sample index