Make Pingy object-oriented