Major refactoring for sockets and App + classes renamed to pingpong