remove unnecessary code
update .gitignore