Added a java file for the client. Cleaned up the server class and added a broadcast function.