removing index folder and creating .gitignore file