Detailed cavity flashing and water proofing