simplify datacontroller with static method for write that accepts single closure, other code updates based on prev. comments.
simplify datacontroller with static method for write that accepts single closure, other code updates based on prev. comments.

brave/browser-ios,Allow2CEO/browser-ios,brave/browser-ios,brave/browser-ios,brave/browser-ios,brave/browser-ios,Allow2CEO/browser-ios,brave/browser-ios,Allow2CEO/browser-ios,brave/browser-ios,Allow2CEO/browser-ios,brave/browser-ios,Allow2CEO/browser-ios,brave/browser-ios,Allow2CEO/browser-ios,Allow2CEO/browser-ios,Allow2CEO/browser-ios