remove .metadata folder and update .gitignore