Modular: module manager and factory