Create WordDetails.java