update .gitignore
add quit method