Move each command group into a module.