moved remaining module activation routines to modules.c