Added gitignore
Fix for username and password prompt
Lots of fix to make the script work using Python 3.