Create chatclient.java