Adding java file for GWT