Removed .directory and added corresponding .gitignore