Integrated the contract parser. Not yet tested.