Created function and database creation for Agreement

Started the reserve_items table. The agreement phase and subsequent
storing of data before the payment.