adding the server java file