[dev] how to register a public module?