Add socket.io and seedrandom to client library, and clean directory structure.