Move index.py and modified .gitignore
Add test/index.py