Modular Operating Systems for Large-Scale, Distributed, and Heterogeneous Environments