Create Contract.java