added indexs and fix gitignore'