Created Contract.java