Update PinPuller.py

updated to include class structure inside, needs more work in other file