Add index

Add a demo index. However, I change .gitignore to ignore index files.