Rename EndReason to EndReason.java