update models.py
refactoring
change generated lib path
change default credential path
add .gitignore
update