removed useless code, add .gitignore