Attempt to reload modules (not quite there yet)
WIP
Now works with server restart after changing the namespace configuration parameter