pass util and config to modules
clean up some modules, tidy up reloading