Create Contract and DbHelper class.