add .gitignore and delete redundant files