Added gaffer.py

Not bothering to port commits from bitbucket to github - they were mostly garbage