added mock resource capability to the SBE37 for gap recovery.
added mock replay code