src/modulemgr/modulemgr.c: Added more functions.