Added training document
Adding commit and rollback functionality