Updating .gitignore and fixing bad include in index files