Added __pycache__ to .gitignore.  Did some more code cleanup