abide by max_entries and fix matching regex to prevent infinite loop
if a module is already loaded, calling module_load should reload it
do not actually unload a module when module::unload is called. This will prevent other instances of sophia from using the module. Instead, just remove it from the modules list so that the particular sophia instance will no longer have access to it