Adding gitignore.
Adding index prototype.