Encapsulate pong app