Adding the entirety of the Contract and DbHelper