Kernel-inspired C++ API for managing large-scale, modular application