add gitignore and update adapter