[enh] add .gitignore
[enh] implement upgrade script