Develop

Only joinServer() has problem. Other functions are done.