create_module helper: only one init function