creation of the pong class to handle ping/pong trade off - getting the implementation details out of main.py