Client Side Java Code

Anthony's uncommented Java code for ClientSide