added index, package and .gitignore