merge code from raycarter to the C# webservice (actual PingPongService implementation)