Revise pysnugglefish to use an object-oriented interface.