Removing some test code
Putting debug inside a function
Adding github python gitignore
This should be a class