add gitignore and index file