implement EnvironmentFactory class and CreateEnvironment function. Bug: webrtc:15656 Change-Id: Ib5ec0e35896be08e6125bcabc6abf2341e613909 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/328060 Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/main@{#41220}