updated gitignore and added .gitignore in directories to keep the directories in the repository.